package com.ruoyi.Factory.service;

import com.ruoyi.Factory.domain.General;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface GeneralService {
    List<General> selectGeneralList(General general,String table);
    General selectGeneralById(Long id,String table);
    int insertGeneral(General general,String table);
    int updateGeneral(General general,String table);
    String importGeneral(List<General> GeneralList,String table);
    int deleteGeneralByIds(List<Long> ids,String table);
    List<General> selectGeneralByIds(Long[] ids,String table);
    void exportByTemplate1(List<General> list, HttpServletResponse response);
    void exportByTemplate2(List<General> list, HttpServletResponse response);
    int ClearGeneral(String table);
}
